chore(deps): update dependency express-rate-limit to v7 - autoclosed #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.8.1
->^7.0.0
Release Notes
express-rate-limit/express-rate-limit (express-rate-limit)
v7.1.5
Compare Source
You can view the changelog here.
v7.1.4
Compare Source
You can view the changelog here.
v7.1.3
Compare Source
Changed
#415)
v7.1.2
Compare Source
Changed
documentation website.
v7.1.1
Compare Source
Added
https://github.com/express-rate-limit/express-rate-limit#406.
v7.1.0
Compare Source
Changed
getKey
method is now always defined. If the store does not have therequired
get
method,getKey
will throw an error explaining this.v7.0.2
Compare Source
Added
cluster-memory-store
to the readme and made a couple of other minorclarifications.
v7.0.1
Compare Source
Added
rate-limit-postgresql
to thestores
list in the readme.v7.0.0
Compare Source
Breaking
max
is set to 0:max: 0
was treated as a 'disable' flag and would allow allrequests through.
skip
function instead.
req.rateLimit.current
toreq.rateLimit.used
.current
is now a hidden getter that will return theused
value, but itwill not appear when iterating over the keys or calling
JSON.stringify()
.express-rate-limit
now targetses2022
in TypeScript/ESBuild.dts-bundle-generator
from v7 to v8.Deprecated
draft_polli_ratelimit_headers
option (it was deprecated in v6).standardHeaders: 'draft-6'
instead.onLimitReached
option (it was deprecated in v6).is an example of how to replicate it's behavior with a custom
handler
option.
Changed
MemoryStore
now uses precise, per-user reset times rather than a globalwindow that resets all users at once.
limit
configuration option is now prefered tomax
.max
is still supported. The changewas made to better align with terminology used in the IETF standard drafts.
Added
validate
config option can now be an object with keys to enable ordisable specific validation checks. For more information, see
this.
v6.11.2
Compare Source
Fixed
IncrementResponse
TypeScript type (See#397)
v6.11.1
Compare Source
Fixed
keys (See
#395).
v6.11.0
Compare Source
Added
from a store (See
#390).
v6.10.0
Compare Source
Added
RateLimit
header from theRateLimit header fields for HTTP standardization draft
adopted by the IETF. Enable by setting
standardHeaders: 'draft-7'
.standardHeaders: 'draft-6'
option, treated equivalent tostandardHeaders: true
from previous releases. Note thattrue
andfalse
are still supported.
RateLimit-Policy
header added whenstandardHeaders
is set to'draft-6'
,'draft-7'
, ortrue
.draft_polli_ratelimit_headers
option.onLimitReached
option.totalHits
value returned from Store is invalid.v6.9.0
Compare Source
Added
wiki page for more info.
Changed
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.